package entity

import (
	"gluenet/internal/glue-srvp/domain/po"
	"gluenet/internal/pkg/infra"
)

type User struct {
	infra.Entity `xorm:"-"`
	po.User      `xorm:"extends"`
}

func (r User) Identity() int64 {
	return r.Id
}

func (r User) TableName() string {
	return "manager_user"
}
